package com.rightsidetech.system.service;

import com.github.pagehelper.PageInfo;
import com.rightsidetech.commom.base.DelReq;
import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.system.dtos.request.FeedbackPageReq;
import com.rightsidetech.system.dtos.request.FeedbackTempSaveReq;
import com.rightsidetech.system.dtos.request.ReplyReq;
import com.rightsidetech.system.dtos.request.UpdateFeedBackStatusReq;
import com.rightsidetech.system.dtos.response.FeedbackPageResp;
import com.rightsidetech.system.dtos.response.HistoryFeedbackPageResp;
import com.rightsidetech.system.dtos.response.SysFeedbackTempResp;
import com.rightsidetech.system.dtos.response.SysFeedbackTempSearchResp;
import com.rightsidetech.system.entity.SysFeedback;

import java.util.List;

/**
 * @Author: yhr
 * @Date: 2021-12-15 11:51
 */
public interface SysFeedbackService {
    ResponseData<List<SysFeedbackTempResp>> selectAllTemp();

    ResponseData saveTemp(FeedbackTempSaveReq req,Long loginInfoId);

    ResponseData delTemp(DelReq req,Long loginInfoId);

    ResponseData<List<SysFeedbackTempSearchResp>> search();

    ResponseData<PageInfo<FeedbackPageResp>> page(FeedbackPageReq req);

    ResponseData reply(ReplyReq req,Long loginInfoId);

    ResponseData updateStatus(UpdateFeedBackStatusReq req, Long loginInfoId);

    List<FeedbackPageResp> selectList(FeedbackPageReq req);

    ResponseData saveFeedback(SysFeedback sysFeedback);

    ResponseData<PageInfo<HistoryFeedbackPageResp>> historyPage(FeedbackPageReq req, Long userInfoId);
}
